import 'viewerjs/dist/viewer.css'
import VueViewer from 'v-viewer'
import ViewerImage from './ViewerImage'

ViewerImage.install = function (Vue) {
  Vue.use(VueViewer, {
    defaultOptions: {
    transition: false,
    // movable: false,
    navbar: false,
    toolbar: {
        zoomIn: 'large',
        zoomOut: 'large',
        oneToOne: 'large',
        reset: 'large',
        prev: 'large',
        play: false,
        next: 'large',
        rotateLeft: 'large',
        rotateRight: 'large',
        flipHorizontal: 'large',
        flipVertical: 'large'
      }
    }
  })
}

export default ViewerImage
